package com.bdqn.demo.dao;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.bdqn.demo.pojo.Role;

/**
 * 角色表(Role)表数据库访问层
 *
 * @author makejava
 * @since 2024-01-16 19:09:32
 */
public interface RoleDao extends BaseMapper<Role> {

    Role selectByUid(Integer id);

    long count(String name);

    List<Role> getPage(@Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize,@Param("name")  String name);
}

